package com.ruoyi.common.core.domain.user;

import java.math.BigDecimal;
import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 服务人员对象(相印员工)
 * @author ruoyi
 * @date 2025-05-29
 */
public class Employee extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键自增 */
    private String id;

    /** 员工姓名 */
    @Excel(name = "员工姓名")
    private String name;

    /** 身份证 */
    @Excel(name = "身份证")
    private String idCard;

    /** 擅长技能（保洁、月嫂、保姆、除虫、维修） */
    @Excel(name = "擅长技能", readConverterExp = "保洁、月嫂、保姆、除虫、维修")
    private String skills;

    /** 服务区域 */
    @Excel(name = "服务区域")
    private String serviceArea;

    /** 员工状态(接单、空闲） */
    @Excel(name = "员工状态(接单、空闲）")
    private Long employmentStatus;


    /** 平均评分 */
    @Excel(name = "平均评分")
    private BigDecimal avgRating;

    /** 年龄 */
    @Excel(name = "年龄")
    private Long age;

    /** 性别 */
    @Excel(name = "性别")
    private Long gender;

    /** 员工手机号码 */
    @Excel(name = "员工手机号码")
    private String phone;

    /** 工作经验 */
    @Excel(name = "工作经验")
    private Long experience;

    /** 个人简介 */
    @Excel(name = "个人简介")
    private String intro;

    /** 服务单数 */
    @Excel(name = "服务单数")
    private Long serviceCount;

    /** 员工头像 */
    @Excel(name = "员工头像")
    private String avatar;


    /** 技能列表 */
    private List<Skill> skillList;

    public List<Skill> getSkillList() {
        return skillList;
    }

    public void setSkillList(List<Skill> skillList) {
        this.skillList = skillList;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }

    public void setIdCard(String idCard)
    {
        this.idCard = idCard;
    }

    public String getIdCard()
    {
        return idCard;
    }

    public void setSkills(String skills)
    {
        this.skills = skills;
    }

    public String getSkills()
    {
        return skills;
    }

    public void setServiceArea(String serviceArea)
    {
        this.serviceArea = serviceArea;
    }

    public String getServiceArea()
    {
        return serviceArea;
    }

    public void setEmploymentStatus(Long employmentStatus)
    {
        this.employmentStatus = employmentStatus;
    }

    public Long getEmploymentStatus()
    {
        return employmentStatus;
    }


    public void setAvgRating(BigDecimal avgRating)
    {
        this.avgRating = avgRating;
    }

    public BigDecimal getAvgRating()
    {
        return avgRating;
    }

    public void setAge(Long age)
    {
        this.age = age;
    }

    public Long getAge()
    {
        return age;
    }

    public void setGender(Long gender)
    {
        this.gender = gender;
    }

    public Long getGender()
    {
        return gender;
    }

    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }

    public void setExperience(Long experience)
    {
        this.experience = experience;
    }

    public Long getExperience()
    {
        return experience;
    }

    public void setIntro(String intro)
    {
        this.intro = intro;
    }

    public String getIntro()
    {
        return intro;
    }

    public void setServiceCount(Long serviceCount)
    {
        this.serviceCount = serviceCount;
    }

    public Long getServiceCount()
    {
        return serviceCount;
    }

    public void setAvatar(String avatar)
    {
        this.avatar = avatar;
    }

    public String getAvatar()
    {
        return avatar;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("idCard", getIdCard())
                .append("skills", getSkills())
                .append("serviceArea", getServiceArea())
                .append("employmentStatus", getEmploymentStatus())
                .append("avgRating", getAvgRating())
                .append("age", getAge())
                .append("gender", getGender())
                .append("phone", getPhone())
                .append("experience", getExperience())
                .append("intro", getIntro())
                .append("serviceCount", getServiceCount())
                .append("createTime", getCreateTime())
                .append("avatar", getAvatar())
                .toString();
    }
}
